package com.sangeng.domain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRegister {
    @NotNull
    private String userName;
    //昵称
    @NotNull
    private String nickName;
    //密码
    @NotNull
    private String password;
    //邮箱
    @NotNull
    private String email;
}
